import {
	getButtonListCache
} from '../localCache/localCache.js'
// 返回拥有按钮的权限
export const hasBtnPermission = (btnName) => {
	const buttonList = getButtonListCache()
	console.log(buttonList, 'buttonList')
	return (typeof buttonList.find((item) => item.uri === btnName) !== 'undefined')
}